﻿
using HlELock.Modules.Hotel.Agency.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;

namespace HlELock.Modules.Hotel.Main
{
    public class HotelAgencyModule : IModule
    {

        private readonly IRegionManager _regionManager;

        public HotelAgencyModule(IRegionManager regionManager)
        {
            _regionManager = regionManager;
        }

        public void OnInitialized(IContainerProvider containerProvider)
        {
            // _regionManager.RequestNavigate(RegionNames.HotelRegion, nameof(HotelMain));

        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<AgencyPage>();
            containerRegistry.RegisterForNavigation<HotelMangeControl>();

        }
    }
}
